<%--
  Created by IntelliJ IDEA.
  User: fudada
  Date: 2021/1/25
  Time: 16:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%
//    pageContext.setAttribute("username","pageContext");
//    request.setAttribute("username","request");
//    session.setAttribute("username","session");
//    application.setAttribute("username","application");
%>
${username} <br>

<%--获取虚拟目录--%>
<%=request.getContextPath()%> <br>
${pageContext.request.contextPath} <br>




</body>
</html>
